import request from "@/utils/request.js";
// home页面的数据
export const HomeDataAll = () =>
  request({
    url: "/api/index/index",
  });
// 获取商品详情
export const getDetailData = (params) =>
  request({
    url: "/api/brand/detail",
    params
  });
// /api/goods/hot
export const getHotGoodsData = (params) =>
  request({
    url: "/api/goods/related",//api/goods/related
    params
  });